package com.kky.pp.util

import android.widget.TextView
import com.kky.pp.R

fun TextView.TextViewStyle(select:Boolean){
    if (select){
        setTextColor(resources.getColorStateList(R.color.white, null))
        setBackgroundResource(R.drawable.shape_5334a5_eb366d_radius_25)
    }else{
        setTextColor(resources.getColorStateList(R.color.color_CAC7CD, null))
        setBackgroundResource(R.drawable.shape_3c475d_radius_25)
    }
}